using System;
using System.Collections.Generic;
using System.Text;

using Icodeon.Util;

namespace Icodeon.Scorm2CC
{
    public class PackageObserverImpl : IObserver
    {
        private Scorm2ccConverter converter;

        public PackageObserverImpl(Scorm2ccConverter converter)
        {
            this.converter = converter;
        }

        public void Callback(int progress, string status)
        {
            this.converter.Update(progress, status);
        }
    }
}
